package cmm;

public class TrainingContext extends TaskContext implements ITrainingContext {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6377520390861454508L;
	
	private String TraineeName;
	
	private Integer LastTrainedTaskID;
	
	
	
//  ------------------------------------------------------------------------------------------	

	public TrainingContext clone() throws CloneNotSupportedException {
		TrainingContext context = (TrainingContext) super.clone();
		context.TraineeName = new String(TraineeName);
		context.LastTrainedTaskID = new Integer(LastTrainedTaskID);
		return context;
	}
	
	public TaskType getType() {
		return TaskType.TRAINING;
	}	
	
	public Integer getLastTrainedTaskID() {
		return LastTrainedTaskID;
	}

	public void setLastTrainedTaskID(Integer LastTaskID) {
		LastTrainedTaskID = LastTaskID;
	}

	public String getTraineeName() {
		return TraineeName;
	}

	public void setTraineeName(String traineeName) {
		TraineeName = traineeName;
	}

}
